package com.xxx.dubbo.service;

import com.xxx.dubbo.api.DemoService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * dubbo Service实现
 */
@DubboService
public class DemoServiceImpl implements DemoService {

    @Override
    public String sayHello(String name) {
        System.out.println("enter method sayHello. name:"+name);
        return "Hello " + name;
    }
}
